package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjCodeFieldContent;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 编码字段内容表，当category=2/3时，内容存入该表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2023-08-23
 */
@Repository
public interface ZjCodeFieldContentMapper extends BaseMapper<ZjCodeFieldContent> {

    /**
     * 根据编码字段ID删除
     * @param codeFieldIds 编码字段ID
     * @return
     */
    int deleteByCodeFields(@Param("codeFieldIds") List<Long> codeFieldIds);
}
